package com.ptp.chat;

import com.ptp.message.Message;

import io.netty.channel.Channel;

/**
 * 
 * @author nnli
 *
 */
public class MessageInfo {

	private String userId;
	
	private Message message;
	
	private String ipaddr;
	
	private String relationId;
	
	private Channel channel;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Message getMessage() {
		return message;
	}

	public void setMessage(Message message) {
		this.message = message;
	}

	public String getIpaddr() {
		return ipaddr;
	}

	public void setIpaddr(String ipaddr) {
		this.ipaddr = ipaddr;
	}

	public String getRelationId() {
		return relationId;
	}

	public void setRelationId(String relationId) {
		this.relationId = relationId;
	}

	public Channel getChannel() {
		return channel;
	}

	public void setChannel(Channel channel) {
		this.channel = channel;
	}

}
